//
//  SCUserDefaults.swift
//  SwiftCommon
//
//  Created by lijl on 15/7/27.
//  Copyright (c) 2015年 lijialong. All rights reserved.
//

import Foundation


public class SCUserDefaults{

    
    public class func getDefaults()->NSUserDefaults{
        return NSUserDefaults()
    }
    
    /// 指定plist文件名，保存数据
    public class func setDefaultsData(dic:NSDictionary,plistName:String){
    
        getDefaults().setPersistentDomain(dic.toDictionary(), forName: plistName)
    }
}